export const DOMAIN = "https://yongfutai.huizukeji.cn/api" //线下
export const urls = 'https://yongfutai.huizukeji.cn'
//登录
export const openidlogin = DOMAIN + "/user/openidlogin"

//获取产品分类product/getType
export const getProductType = DOMAIN + "/product/getType"

//下单/product/placeOrder
export const placeOrder = DOMAIN + "/product/placeOrder"

//获取token 
export const getToken = DOMAIN + "/user/openidlogin"

//添加购物车order/addProductCat
export const addProductCat = DOMAIN + "/product/addProductCat"

//购物车列表
export const getCatList = DOMAIN + "/product/getCatList"


//订单列表order/getOrderList
export const getOrderList = DOMAIN + "/order/getOrderList"

//添加地址
export const set_address = DOMAIN + "/receiving_address/add"

//地址列表
export const get_address = DOMAIN + "/receiving_address/getList"

//删除地址
export const detail_address = DOMAIN + "/receiving_address/del"

//地址详情
export const get_address_data = DOMAIN + "/receiving_address/getDetails"

//修改地址
export const set_edit_addrees = DOMAIN + "/receiving_address/edit"

//购物车下单
export const post_shoppingCartOrder = DOMAIN + "/product/shoppingCartOrder"

//支付
export const post_delCat = DOMAIN + "/product/payOrder"

//删除购物车
export const delete_cart = DOMAIN + "/product/delCat"

//价格getPrice
export const getPrice = DOMAIN + "/product/getPrice"

//轮播图
export const getbanner = DOMAIN + "/user/getSet"

//分类商品列表
export const getTypeLists = DOMAIN + "/commodity/getTypeList"

//获取商品列表
export const getList = DOMAIN + "/commodity/getList"

//商品详情
export const getDetails = DOMAIN + "/commodity/getDetails"

//收藏和取消收藏
export const operationCollection = DOMAIN + "/commodity/operationCollection"

//普通商品下单
export const placeOrderGoods = DOMAIN + "/order/placeOrderGoods"

//订单支付
export const paymentOrder = DOMAIN + "/order/paymentOrder"

//添加购物车/order/shoppingCartorder
export const addShoopCat = DOMAIN + "/shopping_cart/addShoopCat"

 
 

const url = 'https://yongfutai.huizukeji.cn'
export default {
	url
}
